package Databases;

import java.util.List;

public class ImpDBActionResult implements DBActionResult {

    boolean resultok = false;
    String errorMsg;
    Throwable exception;
    public List results;

    public boolean isOk() {
        return resultok;
    }

    public String getErrorMsg() {

        return errorMsg;
    }

    public Throwable getException() {

        return exception;
    }

    public List getResult() {
        return results;
    }

    public void setErrorMsg(String a_ErrorMsg) {
        errorMsg = a_ErrorMsg;
    }

    public void setException(Throwable a_Exception) {

        exception = a_Exception;
    }

    public void setResult(List<Object> a_Result) {
        resultok = true;
        results = a_Result;
    }
}
